@font-face {
  font-family: "Golos";
  src: url('fonts/GolosText-Regular.woff2') format("woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Golos";
  src: url('fonts/GolosText-Medium.woff2') format("woff2");
  font-weight: 500;
}

@font-face {
  font-family: "Golos";
  src: url('fonts/GolosText-SemiBold.woff2') format("woff2");
  font-weight: 600;
}

* {
  font-family: 'Golos';
  font-weight: 400;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --black: #161616;
  --background: #272727;
  --dark-grey: #383838;
  --grey: #848484;
  --tags-color: #6C6C6C;
  --soft-grey: #A7A7A7;
  --light: #F5F5F5;
  --blue: #2959F9;
  --main-heading: 72px;
  --numbers: 150px;
  --paragraph-size: 21px;
  --paragraph-line: 28px;
  --container-width: calc(100vw - 120px);
}

body {
  background-color: var(--background);
  color: var(--light);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.btn {
  display: block;
  width: fit-content;
  padding: 15px 20px;
  border: 1px solid var(--light);
  font-size: 16px;
  line-height: 16px;
  color: var(--light);
  background-color: none;
  background: none;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 25px;
}

.btn-white {
  border: 0;
  background-color: white;
  color: var(--black);
}

.btn-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  -webkit-gap: 10px;
  list-style-type: none;
}

.btn__link {
  display: block;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  color: var(--light);
  text-decoration: none;
}

h1 {
  max-width: 1300px;
  font-size: var(--main-heading);
  line-height: var(--main-heading);
  font-weight: 400;
  letter-spacing: -4%;
}

.heading {
  max-width: 1300px;
  font-size: var(--main-heading);
  line-height: var(--main-heading);
  font-weight: 400;
  letter-spacing: -4%;
}

.numbers {
  font-size: var(--numbers);
  line-height: var(--numbers);
  font-weight: 400;
  letter-spacing: -4%;
}

.small-num {
  font-size: var(--paragraph-line);
  color: rgba(255, 255, 255, 0.473);
}


.paragraph {
  font-size: var(--paragraph-size);
  line-height: var(--paragraph-line);
  font-weight: 400;
  letter-spacing: -4%;
}

.container {
  position: relative;
  max-width: var(--container-width);
  margin: 0 auto;
}

.grid-template {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
}

.grid-template-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 10px;
}

.grid-template-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 10px;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  background-color: var(--dark-grey);
  color: var(--light);
}

.card__nav {
  list-style-type: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.card__nav-link {
  text-decoration: none;
  font-size: var(--paragraph-size);
  line-height: 1;
  color: rgba(255, 255, 255, 0.3);
  text-transform: lowercase;
}

.card-advantages {
  height: 250px;
  justify-content: space-between;
  transition: 0.3s ease-in-out;
}

.card-advantages:hover {
  background-color: var(--blue);
}

h3 {
  font-size: 36px;
  line-height: 36px;
  max-width: 400px;
}

p {
  font-size: var(--paragraph-size);
  line-height: var(--paragraph-line);
}

.line-left {
  position: relative;
}

.line-left::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 0;
  bottom: 5px;
  width: 1px;
  background-color: #6C6C6C;
}

.line-right {
  position: relative;
}

.line-right::after {
  content: '';
  position: absolute;
  top: 5px;
  right: 0;
  bottom: 5px;
  width: 1px;
  background-color: #6C6C6C;
}

.header {
  margin-bottom: 150px;
  padding: 30px 0 40px 0;
  position: sticky;
  top: 0;
  z-index: 30;
  display: block;
  background: linear-gradient(180deg,rgba(39, 39, 39, 1) 61%, rgba(39, 39, 39, 0) 100%);
}

.flex__column {
  display: flex;
  flex-direction: column;
}

.flex__end {
  justify-content: flex-end;
}



